/**
 *
 */
package edu.vt.cbil.dataset;

import java.io.Serializable;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;

/**
 * @author Justin
 */
public class Chromosome implements Serializable {

    private static final long serialVersionUID = -3488836842658361449L;
    public String sampleId;

    public Map<Long, ProbeSet> probes;
    public Set<Segment> segments;
    public Double baseline;
    //public double baseline_std;

    public Chromosome() {

        probes = new TreeMap<Long, ProbeSet>();

        segments = new TreeSet<Segment>();

        baseline = -1.0;
    }


    public void setSampleId(String sampleId) {
        this.sampleId = sampleId;
    }

    public void clear() {
        probes.clear();
        segments.clear();
    }

    public int getPorbeSetCount(){
        return probes.size();
    }
}
